<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="tiles" uri="http://struts.apache.org/tags-tiles"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="c_rt" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fmt_rt" uri="http://java.sun.com/jstl/fmt_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<%@ taglib prefix="x_rt" uri="http://java.sun.com/jstl/xml_rt"%>
<%@ taglib prefix="wr_fn" uri="http://njo.org/taglib/functions"%>

<c:forEach items="${furumboards}" var="item" varStatus="itemStatus">
  <div class="menuheader">
    <a title="${item.description}" href="javascript:menu_click('board_${itemStatus.index}');">${item.title}</a>
  </div>
  <menu id="board_${itemStatus.index}" compact>
  <c:forEach items="${item.boards}" var="subItem" varStatus="subItemStatus">
    <li><a title="${subItem.description}" href="${pageContext.request.contextPath}/processor.listsubject.tiles?board=${subItem.id}">${subItem.title}</a></li>
  </c:forEach>
  </menu>
</c:forEach>

<div class="menuheader">
  <a name="admin" title="建设中...">版块管理</a>
</div>
<menu compact>
  <li><a title="建设中..." href="${pageContext.request.contextPath}/forum.tiles">建设中...</a></li>
</menu>